package com.augn.mapper;

import com.augn.entity.GoodsEvaluateMain;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author augn
 * @since 2022-09-22
 */
@Repository
public interface GoodsEvaluateMainMapper extends BaseMapper<GoodsEvaluateMain> {

    GoodsEvaluateMain getOneGoodsEvaluate(@Param("id") Integer id);
    List<GoodsEvaluateMain> getPartGoodsEvaluate(@Param("id") Integer id,@Param("pageNum") Integer pageNum,@Param("pageSize") Integer pageSize);
}
